<template>
	<view class="footer_content">
		<view class="unit_logo">
			<image class="logo" src="@/static/images/user/logo.png" mode=""></image>
		</view>
		<view class="filter_c">
			<up-tabs
				:list="filterList"
				@click="clickFilter"
				lineWidth="30"
				lineColor="#10AD6B"
				:current="current"
				:activeStyle="{
					color: '#FFFFFF',
					fontWeight: 'bold',
					transform: 'scale(1.05)'
				}"
				:inactiveStyle="{
					color: '#606266',
					transform: 'scale(1)'
				}"
				itemStyle="padding-left: 15px; padding-right: 15px; height: 34px;padding-bottom:12px"
			></up-tabs>
		</view>
		<view class="f_list">
			<view class="f_list_title">Suporte</view>
			<view class="f_list_i" v-for="(item, index) in list" :key="index">
				<up-icon name="arrow-right" color="rgba(216, 216, 216, 0.5)" size="16"></up-icon>
				<view class="li_text">
					{{ item }}
				</view>
			</view>
		</view>
		<view class="f_list">
			<view class="f_list_title">Pagamento</view>
			<img class="image1" src="@/static/images/home/pagamento.png" alt="" />
		</view>
		<view class="hd">
			<view class="hd1">Apostas Online：Uma Experiencia</view>
			<view class="hd2">The Aptx® HD codec transmits 24-bit hi-res audio, equal to or better than CD quality.</view>
		</view>
		<view class="feitos">
			<img class="image2" src="@/static/images/home/feito.png" alt="" />
			<view class="feito">Feito com ❤️ para brasileiros！</view>
		</view>
		<view class="hd">
			<view class="hd1">Apostas Online：Uma Experiencia</view>
			<view class="hd2">The Aptx® HD codec transmits 24-bit hi-res audio, equal to or better than CD quality.</view>
		</view>
		<view class="logo_qt">
			<img class="image3" src="@/static/images/home/logo_i1.png" alt="" />
		</view>
		<view class="f_footer">
			<view class="f_footer_l">
				<view class="fl_text">Suporte</view>
				<view class="fl_url">help@dd.com</view>
			</view>
			<view class="f_footer_l">
				<view class="fl_text">Jurídico</view>
				<view class="fl_url">help@dd.com</view>
			</view>
			<view class="f_footer_l">
				<view class="fl_text">Parceiros</view>
				<view class="fl_url">help@dd.com</view>
			</view>
		</view>
	</view>
</template>

<script setup>
import { ref, reactive, onMounted, watch } from 'vue';
import { onLoad, onShow } from '@dcloudio/uni-app';

const filterList = [{ name: 'Overview' }, { name: 'Features' }, { name: 'Specification' }];
const list = ['Betting terms', 'Terms and conditions', 'Privacy policy', 'Responsible gaming'];

const clickFilter = (e) => {
	console.log(e);
};
</script>

<style lang="scss" scoped>
.footer_content {
	width: 100vw;
	font-size: 32rpx;
	line-height: 44rpx;
	.unit_logo {
		margin-top: 20rpx;
		display: flex;
		align-items: center;
		padding: 0 32rpx;
		box-sizing: border-box;
		.logo {
			height: 100rpx;
			width: 240rpx;
			display: block;
		}
	}
	.filter_c {
		margin-top: 48rpx;
		padding: 0 32rpx;
		box-sizing: border-box;
	}
	.f_list {
		margin-top: 50rpx;
		padding: 0 32rpx;
		box-sizing: border-box;
		.f_list_title {
			font-size: 32rpx;
			font-weight: 900;
		}
		.f_list_i {
			display: flex;
			align-items: center;
			margin-top: 25rpx;
			.li_text {
				line-height: 44rpx;
				margin-left: 10rpx;
				color: rgba(255, 255, 255, 0.5);
			}
		}
		.image1 {
			height: 80rpx;
			width: 240rpx;
			margin-top: 20rpx;
			margin-left: 20rpx;
			margin-bottom: 100rpx;
		}
	}
	.hd {
		height: 248rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		border-top: 1rpx solid rgba(216, 216, 216, 0.1);
		border-bottom: 1rpx solid rgba(216, 216, 216, 0.1);
		padding: 0 32rpx;
		box-sizing: border-box;
		.hd1 {
			font-size: 32rpx;
			line-height: 48rpx;
			font-weight: 900;
			text-align: center;
		}
		.hd2 {
			margin-top: 16rpx;
			font-size: 28rpx;
			line-height: 44rpx;
			text-align: center;
		}
	}
	.feitos{
		height: 234rpx;
		display: flex;
		align-items: center;
		flex-direction: column;
		justify-content: center;
		.image2{
			height: 70rpx;
			width: 100rpx;
			display: block;
		}
		.feito{
			font-size: 32rpx;
			line-height: 48rpx;
			font-weight: 900;
			text-align: center;
			margin-top: 24rpx;
		}
	}
	.logo_qt{
		display: flex;
		align-items: center;
		justify-content: center;
		border-bottom: 1rpx solid rgba(216, 216, 216, 0.1);
		.image3{
			width: 540rpx;
			height: 84rpx;
			margin-top: 36rpx;
			margin-bottom: 80rpx;
		}
	}
	.f_footer{
		display: flex;
		align-items: center;
		flex-direction: column;
		justify-content: center;
		padding: 32rpx 0 48rpx;
		.f_footer_l{
			display: flex;
			align-items: center;
			font-size: 32rpx;
			font-weight: 900;
			line-height: 48rpx;
			margin-top: 16rpx;
			.fl_url{
				margin-left: 18rpx;
				color: #818181;
			}
		}
	}
}
</style>
